package com.kgc.api.goods;


import com.kgc.bean.OrderInfo;
import com.kgc.bean.OrderItem;
import org.springframework.core.annotation.Order;

import java.util.List;

public interface OrderApi {
    OrderInfo queryOrderInfoByOrderId(String orderId);

    List<OrderInfo> queryAllOrdersByOrderState(Integer userId, Integer orderStateCode);

    List<OrderInfo> queryAllOrders(Integer userId);

    Boolean saveOrderItem(OrderItem orderItem);

    Boolean saveOrderInfo(OrderInfo orderInfo);



}
